package org.dromara.admin.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.admin.domain.ContractPayRecord;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 租金账单付款记录视图对象 hr_contract_pay_record
 *
 * @author Lion Li
 * @date 2025-09-03
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = ContractPayRecord.class)
public class ContractPayRecordVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ExcelProperty(value = "主键ID")
    private Long id;

    /**
     * 金额（元）
     */
    @ExcelProperty(value = "金额", converter = ExcelDictConvert.class)
    private BigDecimal amount;

    /**
     * 付款方式: WXPAY(微信支付), ALIPAY(支付宝支付), TRANSFER_WX(线下转账-微信), TRANSFER_ALIPAY(线下转账-支付宝), TRANSFER_BANK(线下转账-网银), WITHHOLD_MAYI(代扣:蚂蚁链)
     */
    @ExcelProperty(value = "付款方式: WXPAY(微信支付), ALIPAY(支付宝支付), TRANSFER_WX(线下转账-微信), TRANSFER_ALIPAY(线下转账-支付宝), TRANSFER_BANK(线下转账-网银), WITHHOLD_MAYI(代扣:蚂蚁链)")
    private String paymentMethod;

    /**
     * 状态: WAITING(等待), SUCCESS(成功), FAILED(失败)
     */
    @ExcelProperty(value = "状态: WAITING(等待), SUCCESS(成功), FAILED(失败)")
    private String status;

    /**
     * 审核状态: PENDING(待审核), APPROVED(通过), REJECTED(拒绝)
     */
    @ExcelProperty(value = "审核状态: PENDING(待审核), APPROVED(通过), REJECTED(拒绝)")
    private String auditStatus;

    /**
     * 账单id
     */
    @ExcelProperty(value = "账单id")
    private Long billId;

    /**
     * 订单id
     */
    @ExcelProperty(value = "订单id")
    private Long orderId;

    /**
     * 付款凭证
     */
    @ExcelProperty(value = "付款凭证")
    private String images;

    /**
     * 打款时间
     */
    @ExcelProperty(value = "打款时间")
    private Date paymentTime;

    /**
     * 审核时间
     */
    @ExcelProperty(value = "审核时间")
    private Date auditTime;


}
